﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CriarBancoDeDados.aspx.cs" Inherits="WEBRM.WebUI.CriarBancoDeDados" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoGeral" runat="server">
    <br />
    <table cellspacing="2" cellpadding="5">
        <tr>
            <td colspan="3">
            <label>Tipo do banco de dados</label><br />
            <asp:DropDownList ID="ddlTipoBD" runat="server" Width="330px">
                <asp:ListItem Selected="True" Value="0">-- Selecione a opção --</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.MySQLDialect">MySQL</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.MsSql2000Dialect">Sql Server 2000</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.MsSql2005Dialect">Sql Server 2005</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.MsSql7Dialect">Sql Server 7</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.Oracle9Dialect">Oracle 9</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.OracleDialect">Oracle 8</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.FirebirdDialect">Firebird</asp:ListItem>
                <asp:ListItem Value="NHibernate.Dialect.PostgreSQL82Dialect">Postgre 8.2</asp:ListItem>
            </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            <label>Servidor</label><br />
            <asp:TextBox ID="txtServidor" runat="server" Width="150px"></asp:TextBox>    
            </td>
            <td>&nbsp;</td>
            <td>
            <label>Database</label><br />
            <asp:TextBox ID="txtDataBase" runat="server" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <label>Usuário</label><br />
            <asp:TextBox ID="txtUsuario" runat="server" Width="150px"></asp:TextBox></td>
            <td>&nbsp;</td>
            <td>
                <label>Senha</label><br />
            <asp:TextBox ID="txtSenha" runat="server" Width="150px" TextMode="Password"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:CheckBox ID="chkNewDataBase" runat="server" 
                    Text="Gerar banco de dados em branco?" />
            </td>
        </tr>
    </table>
    <br />
    <asp:Button ID="btnGerar" runat="server" Text="Criar banco de dados" 
        onclick="btnGerar_Click" />
</asp:Content>
